from django.urls import path
from .views import register_user, reset_attempt_count,login_user,forgot_password,query_user,add_user,update_user,delete_user


urlpatterns = [
    path('register/', register_user),
    path('login/', login_user, name='login_user'),
    path('forgotpwd/', forgot_password, name='forgotpwd'),
    path('resetattempt/', reset_attempt_count, name='resetattempt'),
    #管理员
    path('userinfo/', query_user, name='query_user'),
    path('adduser/', add_user, name='add_user'),
    path('updateuser/', update_user, name='update_user'),
    path('deleteuser/', delete_user, name='delete_user'),
]
